package com.baosight.risk.service.system.entity;

import java.util.Date;
import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: sys_logininfor
 */
@Data
@Table(name = "sys_logininfor")
public class SysLogininfor extends BaseEntity {

    /**
     * 登录账号
     * <p>
     * Table:     sys_logininfor
     * Column:    login_name
     * Nullable:  true
     */
    @Column(name = "login_name")
    private String loginName;

    /**
     * 登录IP地址
     * <p>
     * Table:     sys_logininfor
     * Column:    ipaddr
     * Nullable:  true
     */
    private String ipaddr;

    /**
     * 登录地点
     * <p>
     * Table:     sys_logininfor
     * Column:    login_location
     * Nullable:  true
     */
    @Column(name = "login_location")
    private String loginLocation;

    /**
     * 浏览器类型
     * <p>
     * Table:     sys_logininfor
     * Column:    browser
     * Nullable:  true
     */
    private String browser;

    /**
     * 操作系统
     * <p>
     * Table:     sys_logininfor
     * Column:    os
     * Nullable:  true
     */
    private String os;

    /**
     * 登录状态（0成功 1失败）
     * <p>
     * Table:     sys_logininfor
     * Column:    Status
     * Nullable:  true
     */
    private String status;

    /**
     * 提示消息
     * <p>
     * Table:     sys_logininfor
     * Column:    msg
     * Nullable:  true
     */
    private String msg;

    /**
     * 访问时间
     * <p>
     * Table:     sys_logininfor
     * Column:    login_time
     * Nullable:  true
     */
    @Column(name = "login_time")
    private Date loginTime;

    private static final long serialVersionUID = 1L;
}